package com.liang.service.impl;

import com.liang.mapper.UserandnoticeDAO;
import com.liang.pojo.userandnotice;
import com.liang.service.UserandnoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class    UserandnoticeServiceLmpl implements UserandnoticeService {

    @Resource
    UserandnoticeDAO userandnoticeDAO;


    @Override
    public Boolean setNoticeStatus(userandnotice userandnotice) {
        return userandnoticeDAO.update(userandnotice);
    }
}
